home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 December / Chip_2001-12_cd1.bin / zkuste / tuning / download / xteq / setup.exe / {app} / plugins / XQ NVIDIA 1.xpl < prev    next >
Text File  |  2000-07-07  |  1KB  |  53 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="Hardware\Video Cards\NVidia\General"
  5. "NAME"="NVidia General Options"
  6. "LANGUAGE"="VBScript"
  7. "VERSION"="1.04"
  8. "TEXT 1"="Enable "Hardware Options" tab"
  9. "DESCRIPTION 1"="If the first option is activated, a new tab is displayed in Control Pabel -> Appearance. "
  10. "DESCRIPTION 2"="Using this new tab you can directly control the hardware settings for your NVidia card."
  11. "AUTHOR"="Xteq Systems"
  12. "CONTACTURL"="http://www.xteq.com"
  13. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  14. "COMMENT 1"=" "
  15. "COMMENT 2"=""
  16.  
  17.  
  18. sPC="HKLM\SOFTWARE\NVIDIA Corporation\"
  19. sV1="HKLM\Software\NVIDIA Corporation\Global\NVTweak\Coolbits"
  20.  
  21. 'Called when the Plugin is started
  22. SUB Plugin_Initialize  
  23.   if RegPathExists(sPC) then
  24.      i=RegReadValue(sV1)
  25.      if i=3 then SetUIElement 1,true
  26.   else 
  27.      Disable
  28.   end if
  29. END SUB
  30.  
  31. 'Called when the Plugin should validate the Data the user has entered
  32. SUB Plugin_CheckData(ElementIndex)
  33. END SUB
  34.  
  35.  
  36.  
  37. 'Called when the Plugin should apply the changes
  38. SUB Plugin_Apply(ElementIndex,ElementSubIndex)
  39.  if GetUIElement(1)=true then
  40.     Call RegWriteValue(sV1,3,2)
  41.  else
  42.     Call RegWriteValue(sV1,0,2)
  43.  end if
  44.  
  45. END SUB
  46.  
  47.  
  48.  
  49. 'Called when the Plugin is about to be removed from memory
  50. SUB Plugin_Terminate
  51. END SUB
  52.  
  53.